2005-02-20 Matthias Clasen <mclasen@redhat.com>
+ * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
+ Set have_render_with_trapezoids to GDK_YES when we have
+ a new enough Render extension. (#167965,Billy Biggs)
+
* gtk/gtkwindow.c (gtk_window_present): Use the timestamp of
the last user interaction when focusing the window. (#166379,
Elijah Newren)
2005-02-20 Matthias Clasen <mclasen@redhat.com>
+ * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
+ Set have_render_with_trapezoids to GDK_YES when we have
+ a new enough Render extension. (#167965,Billy Biggs)
+
* gtk/gtkwindow.c (gtk_window_present): Use the timestamp of
the last user interaction when focusing the window. (#166379,
Elijah Newren)
2005-02-20 Matthias Clasen <mclasen@redhat.com>
+ * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
+ Set have_render_with_trapezoids to GDK_YES when we have
+ a new enough Render extension. (#167965,Billy Biggs)
+
* gtk/gtkwindow.c (gtk_window_present): Use the timestamp of
the last user interaction when focusing the window. (#166379,
Elijah Newren)
if (x11display->have_render_with_trapezoids == GDK_UNKNOWN)
{
- if (!_gdk_x11_have_render (display))
- x11display->have_render_with_trapezoids = GDK_NO;
- else
+ x11display->have_render_with_trapezoids = GDK_NO;
+ if (_gdk_x11_have_render (display))
{
/*
* Require protocol >= 0.4 for CompositeTrapezoids support.
if (XRenderQueryVersion (xdisplay, &major_version,
&minor_version))
- if ((major_version < XRENDER_TETRAPEZOIDS_MAJOR) ||
- ((major_version == XRENDER_TETRAPEZOIDS_MAJOR) &&
- (minor_version < XRENDER_TETRAPEZOIDS_MINOR)))
- x11display->have_render_with_trapezoids = GDK_NO;
+ {
+ if ((major_version == XRENDER_TETRAPEZOIDS_MAJOR) &&
+ (minor_version >= XRENDER_TETRAPEZOIDS_MINOR))
+ x11display->have_render_with_trapezoids = GDK_YES;
+ }
}
}